Injectable ampicillin followed by urgent referral